package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-04-18
 */
@TableName("object_property")
public class ObjectProperty implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 类英文名称
	 */
	@TableField(value="name_en")
	private String nameEn;

	/**
	 * 类中文名称
	 */
	@TableField(value="name_zh")
	private String nameZh;

	/**
	 * 公用字段（跨库检索使用）
	 */
	@TableField(value="common_object_property_id")
	private Integer commonObjectPropertyId;

	/**
	 * 所属类
	 */
	@TableField(value="classes_id")
	private Integer classesId;

	/**
	 * 关联类
	 */
	@TableField(value="relevance_classes_id")
	private Integer relevanceClassesId;

	/**
	 * 关联类字段
	 */
	@TableField(value="relevance_class_fields")
	private String relevanceClassFields;

	/**
	 * 字段名称（存储和Solr使用）
	 */
	private String field;

	/**
	 * 是否多值 （默认true）
	 */
	@TableField(value="multi_valued")
	private String multiValued;

	/**
	 * 是否必填 （默认false）
	 */
	private String required;

	/**
	 * 是否内容存储（默认true）
	 */
	private String stored;

	/**
	 * 是否建立索引（默认true）
	 */
	private String indexed;

	/**
	 * 是否用作“more like this和highlight的特性”
	 */
	@TableField(value="term_vectors")
	private String termVectors;

	/**
	 * 是否后台列表页显示
	 */
	@TableField(value="web_list_show")
	private String webListShow;

	/**
	 * 是否后台详情页显示
	 */
	@TableField(value="web_detail_show")
	private String webDetailShow;

	/**
	 * 是否后台列表页显示
	 */
	@TableField(value="admin_list_show")
	private String adminListShow;

	/**
	 * 是否后台详情页显示
	 */
	@TableField(value="admin_detail_show")
	private String adminDetailShow;

	/**
	 * 排序
	 */
	private Integer sort;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getNameZh() {
		return nameZh;
	}

	public void setNameZh(String nameZh) {
		this.nameZh = nameZh;
	}

	public Integer getCommonObjectPropertyId() {
		return commonObjectPropertyId;
	}

	public void setCommonObjectPropertyId(Integer commonObjectPropertyId) {
		this.commonObjectPropertyId = commonObjectPropertyId;
	}

	public Integer getClassesId() {
		return classesId;
	}

	public void setClassesId(Integer classesId) {
		this.classesId = classesId;
	}

	public Integer getRelevanceClassesId() {
		return relevanceClassesId;
	}

	public void setRelevanceClassesId(Integer relevanceClassesId) {
		this.relevanceClassesId = relevanceClassesId;
	}

	public String getRelevanceClassFields() {
		return relevanceClassFields;
	}

	public void setRelevanceClassFields(String relevanceClassFields) {
		this.relevanceClassFields = relevanceClassFields;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getMultiValued() {
		return multiValued;
	}

	public void setMultiValued(String multiValued) {
		this.multiValued = multiValued;
	}

	public String getRequired() {
		return required;
	}

	public void setRequired(String required) {
		this.required = required;
	}

	public String getStored() {
		return stored;
	}

	public void setStored(String stored) {
		this.stored = stored;
	}

	public String getIndexed() {
		return indexed;
	}

	public void setIndexed(String indexed) {
		this.indexed = indexed;
	}

	public String getTermVectors() {
		return termVectors;
	}

	public void setTermVectors(String termVectors) {
		this.termVectors = termVectors;
	}

	public String getWebListShow() {
		return webListShow;
	}

	public void setWebListShow(String webListShow) {
		this.webListShow = webListShow;
	}

	public String getWebDetailShow() {
		return webDetailShow;
	}

	public void setWebDetailShow(String webDetailShow) {
		this.webDetailShow = webDetailShow;
	}

	public String getAdminListShow() {
		return adminListShow;
	}

	public void setAdminListShow(String adminListShow) {
		this.adminListShow = adminListShow;
	}

	public String getAdminDetailShow() {
		return adminDetailShow;
	}

	public void setAdminDetailShow(String adminDetailShow) {
		this.adminDetailShow = adminDetailShow;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
